package com.sui.bigdata.rtcadmin.service;

import com.sui.bigdata.rtcadmin.dto.MetaDto;
import com.sui.bigdata.rtcadmin.repository.model.CreateInfo;

import java.util.List;

/**
 * @author YongChen
 * @date 2019/11/6 14:48
 * @description
 * @email yong_chen@sui.com
 */
public interface MetaService {

    void insert(CreateInfo createInfo) throws Exception;

    void delete(String tableName, String databaseName) throws Exception;

    MetaDto queryByTableName(String tableName);

    List<MetaDto> queryAll();

    List<MetaDto> queryByType(String type,String component);

    String list(String type);

    Object functionOperation(String action) throws Exception;

}
